package serviceImpl;

import java.util.ArrayList;

import dao.CollegeDao;
import daoImpl.CollegeDaoImpl;
import pojo.College;
import pojo.CollegeBrochure;
import service.CollegeService;

public class CollegeServiceImpl implements CollegeService{

	@Override
	public ArrayList<College> getcolleges() {
		CollegeDao cd = new CollegeDaoImpl();
		ArrayList<College> cList = cd.getcolleges();
		return cList;
	}

	@Override
	public ArrayList<CollegeBrochure> getcollegeBrochure(int collegeid) {
		CollegeDao cd = new CollegeDaoImpl();
		ArrayList<CollegeBrochure> cbList = cd.getcollegeBrochure(collegeid);
		return cbList;
	}

}
